    <?php if ($this->_var['category'] > 0): ?>
  <form name="compareForm" action="compare.php" method="post" onSubmit="return compareGoods(this);">
    <?php endif; ?>
   
    <div class="product_right_list">

     <ul>
    <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['goods_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_list']['total'] > 0):
    foreach ($_from AS $this->_var['goods']):
        $this->_foreach['goods_list']['iteration']++;
?>
<li>
     <div class="product_right_list_img">
<a href="<?php echo $this->_var['goods']['url']; ?>"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" alt="<?php echo $this->_var['goods']['goods_name']; ?>" width="81" height="81" class="reflect"/></a>

     </div>
     <div class="product_right_list_title" style="font-family:Arial;font-size:14px;">
     <a href="<?php echo $this->_var['goods']['url']; ?>">  <?php if ($this->_var['goods']['goods_style_name']): ?>
        <?php echo $this->_var['goods']['goods_style_name']; ?><br />
        <?php else: ?>
        <?php echo $this->_var['goods']['goods_name']; ?><br />
        <?php endif; ?></a></div>
     <div class="product_right_list_title"> <a href="javascript:f_putCompare('<?php echo $this->_var['goods']['goods_id']; ?>','<?php echo htmlspecialchars($this->_var['goods']['goods_name']); ?>','<?php echo $this->_var['goods']['type']; ?>','<?php echo $this->_var['goods']['goods_thumb']; ?>','');" 
     id="compareLink"  class="f6"><img src="themes/default/images/bijiao.gif" width="66" height="14" /></a></div>
     
     </li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
 </ul>
    </div>
  
  <?php if ($this->_var['category'] > 0): ?>
  </form>
  <?php endif; ?>


<div class="blank5"></div>


<script type="text/javascript">

<?php $_from = $this->_var['lang']['compare_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item_0_85249600_1265518939');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item_0_85249600_1265518939']):
?>
<?php if ($this->_var['key'] != 'button_compare'): ?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item_0_85249600_1265518939']; ?>";
<?php else: ?>
var button_compare = '';
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
var compare_no_goods = "<?php echo $this->_var['lang']['compare_no_goods']; ?>";
var btn_buy = "<?php echo $this->_var['lang']['btn_buy']; ?>";
var is_cancel = "<?php echo $this->_var['lang']['is_cancel']; ?>";
var select_spe = "<?php echo $this->_var['lang']['select_spe']; ?>";
</script>